package cn.ilikes.tools.nosql.jpa.query.sql.element;

public class GroupBy implements Element {

	public enum GroupType {
		asc, desc
	}

	private String columnName;

	private GroupType groupType;

	private String fullName;

	public String getColumnName() {
		return columnName;
	}

	public GroupType getGroupType() {
		return groupType;
	}

	public String getFullName() {
		return fullName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public void setGroupType(GroupType groupType) {
		this.groupType = groupType;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	@Override
	public String toString() {
		return "GroupBy [columnName=" + columnName + ", groupType=" + groupType + ", fullName=" + fullName + "]";
	}

}
